adwaita: Remove the nested headerbars hack
authorAlexander Mikhaylenko <alexm@gnome.org>
Wed, 3 Mar 2021 12:35:15 +0000 (17:35 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Wed, 3 Mar 2021 12:35:15 +0000 (17:35 +0500)
We clip the window now, it's not necessary anymore.

gtk/theme/Adwaita/_common.scss

index 3bd5af4506ed752cd7644f08544fcdefa2729004..4c1b378a2da68f29f51baf2a348ffbdd375785ee 100644 (file)
@@ -1544,16 +1544,6 @@ headerbar {
     margin-top: 10px;
     margin-bottom: 10px;
   }
-
-  &.titlebar headerbar:not(.titlebar) {
-    // Drop the background of non-titlebar nested headerbars. This is needed to
-    // work around headerbar sliding animation issues without refactoring
-    // Adwaita's support of titlebars and headerbars as it may break
-    // applications.
-    // See https://gitlab.gnome.org/GNOME/gtk/issues/1264 for more information.
-    background: none;
-    box-shadow: none;
-  }
 }